{% extends "basis.html" %}


{% block content %}
<h3>{{ poi_prefix }} a &ldquo;Place of Interest&rdquo; to the trip &ldquo;{{ trip_name }}&rdquo;</h3>
<div class="addpoi">

<p>
<form action="{{poi_post_uri}}" method="POST">{% csrf_token %}
{% for field in poi_form %}
{{field.label_tag }} {{ field }}<br/>
{% endfor %}
{% if is_edit %}
<img alt="" src="{{image_url}}"/> <br/>
<a href="{{flickr_search_uri}}">Set Image</a><br/>
{% endif %}
<input type="submit" value="Save">
</form>
</p>

</div>

{% endblock %}
